package com.zjh.usercenter.service;

import com.zjh.usercenter.model.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * @author 27489
 * @description 针对表【user(用户)】的数据库操作Service
 * @createDate 2023-04-15 22:56:06
 */
public interface UserService extends IService<User> {



    long userRegister(String userAccount,String userPassword,String checkPassword);
    User userLogin(String userAccount, String userPassword, HttpServletRequest request);

    /*
    * 用户脱敏
    * */
    User getsafetyUser(User orginUser);
}
